home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
g_man
/
cat3
/
OpenGL-GLC
/
glcgetfontmap.z
/
glcgetfontmap
Wrap
Text File
|
1998-10-20
|
3KB
|
67 lines
ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL CCCChhhhaaaarrrraaaacccctttteeeerrrr RRRReeeennnnddddeeeerrrreeeerrrr ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp((((3333GGGG))))
NNNNAAAAMMMMEEEE
ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp - return the string name of a character
CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
const GLCchar* ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp( GLint _i_n_F_o_n_t,
GLint _i_n_C_o_d_e )
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
_i_n_F_o_n_t Specifies the integer ID of the font from which to select the
character.
_i_n_C_o_d_e Specifies the integer ID of the character in the font map.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp returns the string name of the character that the font
identified by _i_n_F_o_n_t maps _i_n_C_o_d_e to.
Every font has a font map associated with it. The font map is a table of
entries that map integer values to the name string that identifies the
character.
To change the map, that is, associate a different name string with the
integer ID of a font, use ggggllllccccFFFFoooonnnnttttMMMMaaaapppp.
Every character code used in GLC is an element of the Universal
Multiple-Octet Coded Character Set (UCS) defined by the standards ISO/IEC
10646-1:1993 and Unicode 2.0 (unless otherwise specified). A UCS code is
denoted as U+hexcode, where hexcode is a sequence of hexadecimal digits.
Each UCS code corresponds to a character that has a unique name string.
For example, the code U+41 corresponds to the character LATIN CAPITAL
LETTER A.
If _i_n_C_o_d_e cannot be mapped in the font, ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp returns GGGGLLLLCCCC____NNNNOOOONNNNEEEE.
NNNNOOOOTTTTEEEESSSS
Changing the map of a font is possible but changing the map for a master
is not.
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLLCCCC____SSSSTTTTAAAATTTTEEEE____EEEERRRRRRRROOOORRRR is generated if the issuing thread has no current GLC
context.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ggggllllccccFFFFoooonnnnttttMMMMaaaapppp
PPPPaaaaggggeeee 1111